package com.situ.struts.action;

import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
import com.situ.struts.entity.User;

public class UserAction3 extends ActionSupport implements ModelDriven<User> {
    private User user = new User();

    @Override
    public User getModel() {
        return user;
    }

    public String register() {
        System.out.println("UserAction3.register");
        System.out.println(user);
        return "success";
    }


}
